import request from '@/utils/request.js'


export const login_api = (data) => {
    return request({
        url: '/app/v1_0/authorizations',
        method: 'POST',
        data
    })
    // return request.get('/api/getlunbo')

}

export const codes_api = (mobile) => {
    return request({
        url: '/app/v1_0/sms/codes/' + mobile,
        method: 'get'
    })
}

//  获取自己的用户信息
export const user_api = (mobile) => {
    return request({
        url: `/app/v1_0/user`,
        method: 'get',
        
    })
}

